<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<h2><%= "Hello World!" %></h2>


<%
    out.println(pageContext.getAttribute("name1"));
    out.println(request.getParameter("name2"));
    System.out.println(request.getParameter("name2"));
    out.println(session.getAttribute("name3"));
    out.println(application.getAttribute("name4"));

%>

</body>
</html>
